home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" > <background> <id>27046</id> <filler1>0</filler1> <bitmap>BMAP_27479.pbm</bitmap> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <link rel="stylesheet" type="text/css" href="stylesheet_3080.css" /> <part> <id>1</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>428</left> <top>413</top> <right>625</right> <bottom>430</bottom> </rect> <style>transparent</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>forceLeft</textAlign> <font>C Futura Condensed</font> <textSize>12</textSize> <textStyle>extend</textStyle> <textHeight>16</textHeight> <name>cardNo</name> <script></script> </part> <part> <id>2</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>224</left> <top>40</top> <right>625</right> <bottom>97</bottom> </rect> <style>transparent</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Aplgaram</font> <textSize>24</textSize> <textStyle>plain</textStyle> <textHeight>26</textHeight> <name>subHead</name> <script></script> </part> <part> <id>5</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>431</left> <top>440</top> <right>465</right> <bottom>474</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>18627</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>menu</name> <script>on mouseUp showMenu end mouseUp</script> </part> <part> <id>6</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>471</left> <top>440</top> <right>505</right> <bottom>474</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>8653</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>help</name> <script>on mouseUp doStackHelp end mouseUp </script> </part> <part> <id>7</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>511</left> <top>440</top> <right>545</right> <bottom>474</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>18622</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>prev</name> <script>on mouseUp visual wipe right fast go prev card end mouseUp </script> </part> <part> <id>8</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>551</left> <top>440</top> <right>585</right> <bottom>474</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>18623</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>next</name> <script>on mouseUp visual wipe left fast go next card end mouseUp </script> </part> <part> <id>9</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>591</left> <top>440</top> <right>625</right> <bottom>474</bottom> </rect> <style>opaque</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>18624</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>return</name> <script>on mouseUp returnTo end mouseUp </script> </part> <part> <id>11</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>610</left> <top>5</top> <right>634</right> <bottom>29</bottom> </rect> <style>transparent</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <false /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>32050</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>cardMark</name> <script>on mouseUp makeAMark end mouseUp</script> </part> <part> <id>13</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>224</left> <top>105</top> <right>625</right> <bottom>415</bottom> </rect> <style>transparent</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Aplgaram</font> <textSize>16</textSize> <textStyle>plain</textStyle> <textHeight>18</textHeight> <name>text2</name> <script>on mouseUp fieldLink end mouseUp</script> </part> <part> <id>14</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>23</left> <top>213</top> <right>216</right> <bottom>414</bottom> </rect> <style>transparent</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>C Futura Condensed</font> <textSize>14</textSize> <textStyle>extend</textStyle> <textHeight>18</textHeight> <name>instructions</name> <script>on mouseUp fieldLink end mouseUp</script> </part> <name>Evaluation</name> <script>-- ——————————————————————————————————————————————————————————————————————————————— -- handlers for the Evaluation section -- ——————————————————————————————————————————————————————————————————————————————— -- clear counters ———————————————————————————————————————————————————————————————— on openCard global howManyTries, thisQuestion put empty into howManyTries put empty into thisQuestion pass openCard end openCard -- handler for text answers ——————————————————————————————————————————————————————— -- check the answer on checkAnswer allowableGoofs,howManyAnswers,thisAnswer,whatSound global evaluationLC, howManyTries, thisQuestion play stop if thisAnswer is in thisQuestion then answer "You already answered that one." exit checkAnswer end if put howManyTries + 1 into howManyTries if howManyTries > allowableGoofs or the short name of this card is in evaluationLC then answer "You have completed this question." else if howManyTries = allowableGoofs then if the textStyle of the clickChunk is group then play "betterAnswer" goodQuestion howManyAnswers,thisAnswer else play whatSound put the short name of this card & "-too many tries," after evaluationLC end if else if howManyTries > allowableGoofs / 2 then if the textStyle of the clickChunk is group then play "goodAnswer" goodQuestion howManyAnswers,thisAnswer else play "noTryAgain" end if else if the textStyle of the clickChunk is group then play "yesAnswer" goodQuestion howManyAnswers,thisAnswer else play "sorryTryAgain" end if end if end checkAnswer -- credit the answer on goodQuestion howManyAnswers,thisAnswer global evaluationLC, thisQuestion, howManyTries if the number of items in thisQuestion = howManyAnswers - 1 then put the short name of this card & "-" & howManyTries && "tries," after evaluationLC else if thisAnswer ≠ 0 then put thisAnswer & "," after thisQuestion else put "x," after thisQuestion end if end goodQuestion</script> </background>